/******************************************************************************
 * FILE NAME:
 *  common_def.h
 *
 * DESCRIPTION:
 * This file contains declarations and MARCOS of project syslog
 *
 *
 * DESIGN REFERENCE:
 *
 *
 * REVISION HISTORY   :
 * Date            Author               REASON
 * 06.08.2013      Thuan Nguyen         Creation
 *
 * Copyright 2005, NET
 * ***************************************************************************/

#ifndef COMMON_DEF_H_
#define COMMON_DEF_H_


#define DEBUG_LOG_FLAG

#define SYSLOG_TRUE 1
#define SYSLOG_FALSE 0
#define SYSLOG_OK 1
#define SYSLOG_NOK 0
#define SYSLOG_NULL 0
#define SYSLOG_SUCCESS 0
#define SYSLOG_FAILURE -1


#define U8 char
#define U16 short int
#define U32 int
#define U64 long


/*Task ID*/
#define TASK_ID_TRANSPORT 0x0001
#define TASK_ID_APPLICATION 0x0002
#define TASK_ID_CONTENT 0x0003
#define TASK_ID_TRANSPORT_TASKLIST 0x0004
#define TASK_ID_TRANSPORT_INPUTQUEUE 0x0005
#define TASK_ID_APPLICATION_INPUTQUEUE 0x0006


#define TRANSPORT_PROTOCOL_TCP 0
#define TRANSPORT_PROTOCOL_UDP 1

/*Queue ID define*/
#define TASKLIST_MQUEUE 2311
#define TRANSPORT_INPUT_MQUEUE 2312
#define APPLICATION_OUTPUT_MQUEUE 2313


#endif /* COMMON_DEF_H_ */
